<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>海量通 -- 营销专家</title>

    <!-- Bootstrap -->
    <link href="./vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="./vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!-- Custom Theme Style -->
    <link href="./build/css/custom.min.css" rel="stylesheet">
    <!-- Web Goobal Style -->
    <link href="./css/goobal.css" rel="stylesheet">
  </head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="index.html" class="site_title"><i class="fa  fa-globe"></i> <span style="margin-left:10px;">海&nbsp;量&nbsp;通</span></a>
            </div>
            <div class="clearfix"></div>
            <br />

            <!-- sidebar menu -->
            <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
              <div class="menu_section">
                <h3>General</h3>
                <ul class="nav side-menu">
                  <li><a href="index.html"><i class="fa fa-home"></i> 首页 <span class="fa fa-chevron-down"></span></a>
                  </li>
                  <li><a><i class="fa  fa-th-list"></i> 广告和计划 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="planning.html">广告计划</a></li>
                      <li><a href="advert.html">广告</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa  fa-clipboard"></i> 素材库 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="materials-list.html">广告创意</a></li>
                      <li><a href="marketing-form.html">营销表单</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa fa-area-chart"></i> 统计报表 <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="reports.html">广告投放统计</a></li>
                      <li><a href="reports-form.html">表单统计</a></li>
                    </ul>
                  </li>
                  <li><a><i class="fa   fa-user"></i> 账号管理  <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li><a href="user-detail.html">账号中心</a></li>
                      <li><a href="account-flow.html">账号流水</a></li>
                    </ul>
                  </li>
                </ul>
              </div>
            </div>
            <!-- /sidebar menu -->
          </div>
        </div>

        <!-- top navigation -->
        <div class="top_nav">
          <div class="nav_menu">
            <nav>
              <div class="nav toggle">
                <a id="menu_toggle"><i class="fa fa-bars"></i></a>
              </div>

              <ul class="nav navbar-nav navbar-right">
                <li class="">
                  <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                    <img src="images/img.jpg" alt="">海量通
                    <span class=" fa fa-angle-down"></span>
                  </a>
                  <ul class="dropdown-menu dropdown-usermenu pull-right">
                    <li><a href="javascript:;"><i class="fa  fa-cog pull-right"></i>账号中心</a></li>
                    <li><a href="javascript:;"><i class="fa fa-pencil-square pull-right"></i>修改密码</a></li>
                    <li><a href="login.html"><i class="fa fa-sign-out pull-right"></i>退出</a></li>
                  </ul>
                </li>
              </ul>
            </nav>
          </div>
        </div>
        <!-- /top navigation -->
        <!-- page content -->
        <div class="right_col" role="main">

            <!-- top title -->
            <div class="x_title">
              <h2>整体统计</small></h2>
              <div class="clearfix"></div>
            </div>


            <div class="clearfix"></div>

            <!-- tongji -->
            <div class="row">
              <div class="col-md-12">
                <div class="">
                  <div class="x_content">
                    <div class="row">
                      <!-- 表格 -->
                      <div class="x_panel">
                        <div class="x_content">

                          <div class="" role="tabpanel" data-example-id="togglable-tabs">
                            <ul id="myTab" class="nav nav-tabs bar_tabs" role="tablist">
                              <li role="presentation" class="active"><a href="#tab_content1" id="home-tab" role="tab" data-toggle="tab" aria-expanded="false">整体统计</a>
                              </li>
                              <li role="presentation" class=""><a href="#tab_content2" role="tab" id="profile-tab" data-toggle="tab" aria-expanded="false">计划统计</a>
                              </li>
                            </ul>
                            <div id="myTabContent" class="tab-content">
                              <div role="tabpanel" class="tab-pane fade active in" id="tab_content1" aria-labelledby="home-tab">

                                <!-- chart -->
                                <div class="reports-chart col-lg-12 col-md-12 col-sm-12 col-xs-12" id="reports-chart" style="height: 399px; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; position: relative; background-color: transparent;">
                                </div>
                                <!-- chart -->
                                <table class="table">
                                  <thead>
                                    <tr>
                                      <th>时间</th>
                                      <th>曝光量</th>
                                      <th>点击量</th>
                                      <th>点击率</th>
                                      <th>平均点击费用</th>
                                      <th>千次展示费用</th>
                                      <th>花费</th>
                                    </tr>
                                  </thead>
                                  <tbody>
                                    <tr>
                                      <td>2016-07-04</td>
                                      <td >616</td>
                                      <td>948</td>
                                      <td>153.9%</td>
                                      <td>￥3.16</td>
                                      <td>¥4,870.13</td>
                                      <td>¥3000</td>
                                    </tr>
                                    <tr>
                                      <td>2016-07-04</td>
                                      <td >616</td>
                                      <td>948</td>
                                      <td>153.9%</td>
                                      <td>￥3.16</td>
                                      <td>¥4,870.13</td>
                                      <td>¥3000</td>
                                    </tr>
                                    <tr>
                                      <td>2016-07-04</td>
                                      <td >616</td>
                                      <td>948</td>
                                      <td>153.9%</td>
                                      <td>￥3.16</td>
                                      <td>¥4,870.13</td>
                                      <td>¥3000</td>
                                    </tr>
                                    <tr>
                                      <td>2016-07-04</td>
                                      <td >616</td>
                                      <td>948</td>
                                      <td>153.9%</td>
                                      <td>￥3.16</td>
                                      <td>¥4,870.13</td>
                                      <td>¥3000</td>
                                    </tr>
                                  </tbody>
                                </table>

                              </div>
                              <div role="tabpanel" class="tab-pane fade" id="tab_content2" aria-labelledby="profile-tab">
                                <table class="table">
                                  <thead>
                                    <tr>
                                      <th>时间</th>
                                      <th>计划名</th>
                                      <th>曝光量</th>
                                      <th>点击量</th>
                                      <th>点击率</th>
                                      <th>平均点击费用</th>
                                      <th>千次展示费用</th>
                                      <th>花费</th>
                                    </tr>
                                  </thead>
                                  <tbody>
                                    <tr>
                                      <td>2016-07-04</td>
                                      <td>pc端计划</td>
                                      <td >616</td>
                                      <td>948</td>
                                      <td>153.9%</td>
                                      <td>￥3.16</td>
                                      <td>¥4,870.13</td>
                                      <td>¥3000</td>
                                    </tr>
                                    <tr>
                                      <td>2016-07-04</td>
                                      <td>pc端计划</td>
                                      <td >616</td>
                                      <td>948</td>
                                      <td>153.9%</td>
                                      <td>￥3.16</td>
                                      <td>¥4,870.13</td>
                                      <td>¥3000</td>
                                    </tr>
                                    <tr>
                                      <td>2016-07-04</td>
                                      <td>pc端计划</td>
                                      <td >616</td>
                                      <td>948</td>
                                      <td>153.9%</td>
                                      <td>￥3.16</td>
                                      <td>¥4,870.13</td>
                                      <td>¥3000</td>
                                    </tr>
                                    <tr>
                                      <td>2016-07-04</td>
                                      <td>pc端计划</td>
                                      <td >616</td>
                                      <td>948</td>
                                      <td>153.9%</td>
                                      <td>￥3.16</td>
                                      <td>¥4,870.13</td>
                                      <td>¥3000</td>
                                    </tr>

                                  </tbody>
                                </table>
                              </div>
                            </div>
                          </div>


                        </div>
                      </div>
                      <!-- 表格 -->
                  </div>
                </div>
              </div>
            </div>

          </div>

        </div>
        <!-- /page content -->

        <!-- footer content -->
        <footer>
          <div class="pull-right">
            海量通 - 广告投放平台 © 20150.1.0-20160727134637
          </div>
          <div class="clearfix"></div>
        </footer>
        <!-- /footer content -->
      </div>
    </div>
    <!-- jQuery -->
    <script src="./vendors/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="./vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- Echart theme -->
    <!-- // <script src="./vendors/theme.js"></script> -->
    <!-- Echart -->
    <!-- // <script src="./vendors/echarts/dist/echarts.min.js"></script> -->
    <!-- Custom Theme Scripts -->
    <script src="./build/js/custom.js"></script>
    <!-- Echart -->
    <script>
      $(document).ready(function() {

        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('reports-chart'),theme);

        // 指定图表的配置项和数据
        var option = {
            title: {
                text: ''
            },
            tooltip: {
                trigger: 'axis'
            },
            legend: {
                data:['曝光量（次）','点击量（次）','总花费']
            },
            grid: {
              left: '2%',
              right: 0,
            },
            xAxis: {
              axisLine: {
                show: true,
                lineStyle: {
                  color: '#E6E9ED',
                  width:2
                }
              },
              splitLine: {
                show: false,
              },
              data: ['2016-04-22','2016-05-09','2016-05-10','2016-05-23','2016-06-15','2016-07-04']
            },
            yAxis: {
              axisLine: {
                show: true,
                lineStyle: {
                  color: '#E6E9ED',
                  width:2
                }
              },
              type: 'value',
              data: ['0','0.2','0.4','0.6','0.8','1']
            },
            series: [
                {
                    name:'曝光量（次）',
                    smooth: true,
                    type:'line',
                    areaStyle: {
                      normal: {}
                    },
                    data:[0.1, 0.6, 0.8, 0.4, 0.4, 0.2, 1]
                },
                {
                    name:'点击量（次）',
                    smooth: true,
                    type:'line',
                    areaStyle: {
                      normal: {}
                    },
                    data:[0.1, 0.2, 0.8, 0.8, 0.4, 0.2, 1]
                },
                {
                    name:'总花费',
                    smooth: true,
                    type:'line',
                    areaStyle: {
                      normal: {}
                    },
                    data:[0.1, 0.3, 0.8, 0.6, 0.4, 0.2, 1]
                }
            ]
        };

        // 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
        window.onresize = function(){
          myChart.resize();
        };
      });
    </script>
    <!-- /Echart -->
  </body>
</html>
